Ext.define('App.order.view.OrderList', {
    extend: 'Extend.grid.CrudGridPanel',
    alias: 'widget.OrderList',
    requires: ['App.order.model.OrderViewModel'],
    viewModel: 'OrderViewModel',
    config: {
        tbar: {
            quickCreate: {
                hidden: true
            }
        }
    },
    bind: {
        store: '{Query}',
        columns: '{columns}',
        search: '{search}'
    },
    editor: {
        formClazz: 'App.order.view.OrderEditor',
        save: 'management/order/save',
        get: 'management/order/get_by_id',
        del: 'management/order/deletes'
    }
});